package com.boomsecret.pattern.factory.abstractMethod;

import com.boomsecret.pattern.factory.abstractFactory.PizzaIngredientFactory;

/**
 * Created by wangjinliang on 2018/1/31.
 */
public class NYPizza extends Pizza {
    public NYPizza(PizzaIngredientFactory factory) {
        super(factory);
    }

    @Override
    public String getName() {
        return "NY Pizza";
    }
}
